package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Menu;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IMenuService {
    List<Menu> selectRootMenu();

    PageResult query(QueryObject qo);

    void updateByPrimaryKey(Menu record);

    void insert(Menu record);

    Menu validateMenuText(String menuText);

    void deleteById(Long id);

    List<Menu> selectEmployeeMenu();
}
